<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">

    <ul id="example-1">
        <li v-for="(item,index) in items" :key="item.message">{{ item.message }}</li>
    </ul>

    <ul id="v-for-object" class="demo">
        <li v-for="(value,name,index) in object">{{ name }}:{{ value }} {{index}}</li>
    </ul>

    <div><span v-for="n in 10">{{ n }}</span></div>

</div>
<script src="../JavaScript/vue.js"></script>
<script>
    const vm = new Vue({
        el: "#app",
        data: {
            items: [
                {message: 'Foo'},
                {message: 'Bar'}
            ],
            object: {
                title: 'How to do lists in Vue',
                author: 'Jane Doe',
                publishedAt: '2016-04-10'
            }
        }
    })
</script>
</body>
</html>
